package com.tengju.bff.interfaces.covercharge.entity.vo.contract;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author liang_shi
 * @date 2020/7/20 10:07
 * @description 签约合同
 */
@Data
public class SignContractReqVo implements Serializable {

    @ApiModelProperty(value = "用户类型:1-自认证企业 2-自认证个体工商户 3-乐税个体工商户", required = true)
    @NotNull(message = "用户类型不能为空")
    private Integer type;

    @ApiModelProperty(value = "合同类型: 1-渠道服务商 2-区域运营商", required = true)
    @NotNull(message = "合同类型不能为空")
    private Integer contractType;

    @ApiModelProperty(value = "签署完成页面回跳地址", required = true)
    @NotBlank(message = "回跳地址不能为空")
    private String returnUrl;

}
